<?xml version="1.0" encoding="UTF-8"?>
<myconfiguration>
	<!-- 全局属性 -->
	<common>
		<!-- 文件的编码方式 -->
		<encoding>${encoding}</encoding>
		<!-- 源文件路径 -->
		<source>${source}</source>
		<!-- 实体类包路径 -->
		<entity>${entity}</entity>
		<!-- dao包路径 -->
		<dao>${dao}</dao>
		<!-- service包路径 -->
		<service>${service}</service>
		<!-- serviceImp包路径 -->
		<serviceImp>${serviceImp}</serviceImp>
		<!-- mapper配置文件路径 -->
		<mapper>${mapper}</mapper>
		<!-- injection配置文件路径路径 -->
		<injection>${injection}</injection>
	</common>
	<!-- 实体类定义,package为类所在的包名（会在该包名上加上全局包名）,source为源文件输出路径 -->
	<entities>
		<!-- 实体类，name为类名字,table为该类对应的表名,key为表的主键字段（属于column属性） -->
		<#list entities as entity>
		<entity name="${entity.name}" table="${entity.table}" key="${entity.key}" insert="${entity.insert?String("true","false")}" update="${entity.update?String("true","false")}" delete="${entity.delete?String("true","false")}">
			<#list properties property>
			<prop property="${property.property}" javaType="${property.javaType}" column="${property.column}" jdbcType="${property.jdbcType}" javadoc="${property.javadoc}">${property.text}</prop>
			</#list>
		</entity>
		</#list>
	</entities>
</myconfiguration>